package com.eagle.videoboot;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * War 启动类，相当于web.xml的形式去启动
 */
public class VideoWarApp extends SpringBootServletInitializer {
	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
		//web.xml的形式去启动,指向springboot启动类
		return builder.sources(VideoApp.class);
	}
}
